﻿using Inovout.Kuajing.Models;
using Inovout.Kuajing.Services;
using Inovout.Memberships;
using Inovout.Memberships.Models;
using Inovout.Memberships.Services;
using Inovout.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Inovout.Kuajing.Store.Web.Controllers
{
    public class HomeController : KJBaseController<ShipmentOrder>
    {
        //
        // GET: /Home/
        public override ActionResult Index()
        {
            if (MembershipUser == null || Consigner == null)
            {
                return RedirectToAction("Create", "Consigner");
            }
            else
            {
                return RedirectToAction("UnShippedOrderList", "Order");
            }


        }
    }
}